import Vue from 'vue'
import Vuex from 'vuex'
import options from "@/store/options";

if (localStorage.getItem('state')) {
    if (localStorage.getItem('state') !== 'null') {
        options.state = JSON.parse(localStorage.getItem('state'))
    }
}
Vue.use(Vuex)
export let store = new Vuex.Store(options)
export default store
